Added access to XMLtoHTML by assigning it to window.