waveform.js: pause the playback and waveform