Cleaned up some unneeded JS.