Using the document create element for URL manipulation