removes unused js modules