fixes for bytebuffer differences under dart2js
rollback some debugging changes
address review comments
Merge pull request #344 from dart-lang/dart2js_bytebuffer

Dart2js bytebuffer