Added support for a global 'audioContext' variable.