fixes for updates to web audio API