chore(jshintrc): add jshintrc
fix(jshint): modify code to pass jshint