stereo tone generator using html5 audio api