[#15,bugfix][s]: try/catch for history.pushState to ensure we work when using locally - fixes #15.