javascript codegen start