style(gen): add jshint and fix code styling issue