Updated web audio 

Updated the createGain method and made getUserMedia more cross browser friendly.