fixed a bug in javascrit-generator