Clean up some whitespace, replace obsolete method for WebAudio API

This removes some trailing whitespace, and more importantly replaces the obsolete `createJavaScriptNode` with the updated function `createScriptProcessor`