Cleaned up js file.