Added pushState support (Closes #30)