Adding some javascript for the XML Authoring tab.