Fix urlResolve() to work for IE < 8 thus making routing work on these browsers