fix window not defined
Merge branch 'develop' of github.com:js-platform/node-webrtc into develop