changed deprecated AudioContext method createGainNode() to current version createGain() so it can work on new browsers