Update lib/compiler/passes/generate-javascript.js