Updated the xml-loader to have better IE9 support.