Updated webrtc-adapter.js from html5rocks