add ability to parse XML


a function like this in a website was failing:

```javascript
ConvertStrToXml=function (xmlString) {
    console.log("ConvertStrToXml Start");
    var xmlDoc = null;
    try {
        if (window.ActiveXObject) {
            xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
            xmlDoc.async = "false";
            xmlDoc.loadXML(xmlString);
        } else {
            var xmlDoc = (new DOMParser()).parseFromString(xmlString, "text/xml");
        }
    } catch (err) {
        console.log("ConvertStrToXml Exception: " + err);
        return xmlDoc
    }
    console.log("ConvertStrToXml End");
    return xmlDoc
}
```

have not tested the code in coffeescript or generated js
but should work (i hope the spaces in coffeescript are correct)