fix JavaScript generator
Merge branch 'master' of https://github.com/GreenTeaScript/GreenTeaScript