tons added for #15, stopped while waiting on https://github.com/katspaugh/wavesurfer.js/issues/57