Update and rename xmlWriter to xmlWriter_js