Disable JS-based navigation if the browser doesn't support history API.