Fix #29
Merge pull request #35 from Datafable/generate-js

Fix #29