Updated DataChannel.js according to issue #22

Thanks @mvayngrib