fixed a small error where a declaration of js2SimplCode