Minor code improvments in webrtc.io.js