removes some unused JavaScripts from Application JS