Fix jshint and jscs errors.