use jslint and jshint to standardize code style