match slashes and add pushstate test