Updated peerconnection.js to resolve an issue with passing RTCMediaStream objects into AddStream() and RemoveStream()