pushState support for ajax redirects