Fixing Sysex buffering

The original code tries to truncate the Sysex buffer by setting the
length to 0. But since it is a typed array, this will either not work
(Firefox) or error out (Chrome).
Merge pull request #39 from halfbyte/sysex_fix

Fixing Sysex buffering