Removing abundent javascript file