prevent double appending of border nodes (causes problems with XMLDOM.js)
use XMLDOM.toString when serializing XMLDOM objects
use empty elements when no content, don't leave space when no attrs (causes parse error in Excel)
turn on optimization in Gruntfile.js