added navigate support for browsers that do not support pushstate