hooks for js
Merge pull request #68 from verdet23/master

hooks for js