added support for old browsers without push state polyfill