Updating hook.js to 0.3