Added wave display to record.html
Added the drawing of the wave display to the recording infrastructure