Fix jshint and jscs codestyle issues