added html5 url generation