added better exports for GOOG build mode and goog.require for ByteBuffer