Port webkitAudioContext code to standards based AudioContext (see https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Porting_webkitAudioContext_code_to_standards_based_AudioContext); jshint cleanup.