Use createScriptProcessor, as createJavaScriptNode has been deprecated