Removed extra stuff from the JS.