improve README for hooks
improve hooks.js example
0.6.1