code: function () {
              if (typeof DOMParser === undefined) {
                  try {
                      return Components.classes["@mozilla.org/xmlextras/domparser;1"]
                          .createInstance(Components.interfaces.nsIDOMParser);
                  } catch (e) {
                      return;
                  }
              } else {
                  return new DOMParser();
              }
          }
docs: gets DOMParser object
  
  @return {Object || undefined}