Fixed the error 'createGainNode is not a function' with Firefox. createGainNode has been replaced with createGain