js2xml as a tool