Replace wrong variable name documentNode by newNode