For quite some time, flash was the only way to go if you needed to make WAV files in the browser.
As the WebRTC standard matures, this becomes less of a requirement. I made a WebRTC library for WAV recording that aims to fix that.
//Record a file:
voice = new Recording()
//Download the File Locally to your computer
//Optionally, you may specify a filename for the download.