Fix JS Generation
Merge pull request #74 from tetsurom/jsgen

Fix JS Generation