Added pushState as an option