javascript: refactoring
javascript: refactored js codegen
Merge pull request #444 from raichoo/javascript

Javascript