Update wavesurfer.spectrogram.js

Rework drawSpectrogram()