apply jshint and jscs codestyles