Make Chrome initial popstate workaround account for rootURL
Merge pull request #2381 from teddyzeenny/initial-popstate

Make Chrome initial popstate workaround account for rootURL