update createJavaScriptNode to createScriptProcessor