fix for AudioContext API changes