Fix jshint and jscsrc warnings