adjusting the urls to support html5 mode