update another usage of createJavaScriptNode

Oops, I missed this one the first time.