Removed unused JavaScript for Safari previews