fixed js code
Merge pull request #89 from hcaiano/hc_js

fixed js code