bugs fixed JavaByteCodeGenerator.java
bugs fixed at JavaScriptSampleGenerator.java