Display and adjust the waveform of an audio file using javascript.