Changed createJavaScriptNode to createScriptProcessor