Clean up opentok javascript in view