Removed json stringify from bridge onMessage to support array buffers
Merge with PR. JSHint and tests working.