update obsolete createJavaScriptNode with createScriptProcessor

createJavaScriptNode is obsolete, this updates the method to use the new createScriptProcessor.

Reference: https://developer.mozilla.org/en-US/docs/Web/API/AudioContext.createJavaScriptNode