Update simplewebrtc.js

Fixed 'undefined' error when calling method 'leaveRoom'.