Removes unused js