Fix stripping the root when href lacks leading /

@hojberg @flahertyb 

* IE9 exhibits this