remove unused line of JS that was throwing undefined warning