Use cloneNode rather the createElement
Remove unecessary return values from ShowXML
Removed old browser support