removing unwanted / from Google and Tornado URLs