update sound processor to support updated web audio API

newer versions of firefox support web audio api and only support CreateScriptProcessor and not CreateJavaScriptNode