Remove deprecated code.
Add a 'reset' event for support js files.
Use the new reset event.
Fix reset bug.
Clear more stuff on reset.
Ooops, trim() is not in-place in JS.
Handle EOLs better.
Have the serial stuff ignore the first 64 bytes.

The XBee radios I use appear to have their own buffer and so this stops old data from messing thinsg up (like graphs).