Fix JS a little
Merge pull request #80 from kaosf/fix-js

Fix JS a little