Add getCurrentUrl() function and remove accents.