Might as well use the dom lib that I've got