How to connect a JQuery UI slider & a Web Audio API gainNode
===

I am trying to connect a JQuery slider to a gain node of an oscillator using the Web Audio API.

The oscillator works, there is a working gain slider and there is a JQuery slider. I want the JQuery slider to control the gain like the other slider does.

Here is the code thus far

http://jsfiddle.net/taoist/JCTJj/2/

