removing unused JavaScripts