Used createElement for URL manipulation