add jshint and mod code