jshint and jscs

resolve #2