ECMAScript code generator