Cleaned up JSLINT errors