XML.js: resolved unexpected assignment expressions

conform to the latest JSLint quibbles