fix minor bug in jplayer_waveform module