run jslint and fix warnings to ensure code quality