Make it easy to enable/disable pushState