Cleaned up some files to make them conform with jslint