added a bit of code to main.js and client.html in order to play with wavesurfer. this commit is the pre for adding wavesurfer for #42