Use createScriptProcessor rather than createJavaScriptNode for firefox compatibility.