cleaned up opentokutil.js