fix js
Merge pull request #11 from stevelacy/master

fix js gen