Add missing browser shim for buffertools
Merge pull request #525 from eordano/fix/missingBuffertools

Add missing browser shim for buffertools
Fixes unhandled exceptions in Transaction
Fixes undefined check