removing a trailing slash from the url (to make backbone # links work).