Clean up code with jslint