delete js unnecessary