Added accessor function to return value of 'bufferedAmount' attribute of data channel to avoid having to reach directly into the object itself.