Deleting unnecessary JavaScripts