codegen version, jshint problems