#501 Handles removing 1 or more trailing slash -- uglify didn't like the * in my regexp.