waveform.js: continue cleanup
waveform.js: slightly better time syncing