fix JSModule
Merge pull request #395 from tetsurom/JSFix

Fix JSModule