Test if pathname start with a / before removing it's first char (IE compatiblity)