Cleaning up JS file.