bugfix & minor restructure

bugfix - waveform buffer for gpu was offset by 1, now fixed.
restructure - canvas array in webgl-waveforms is now raw elements rather
than jquery (not really that interesting, I just feel like gradually
weeding out jQuery).