Monkey-patch (hook) functions for debugging and stuff.
patchhookfunctiondebugaop
http://github.com/cowboy/javascript-hooker