waveform.js: end the waveform when we end the playback
waveform.js: no incrementing when the array elements have already been forEached