Removed unused JavaScript