title: clear History stack of History.js
body: <p>I am using <a href="https://github.com/browserstate/history.js/" rel="nofollow">History.js</a> in my webpage.It's working fine,but when user click the breadcrumb on the page comes to the first page directly,i.e.,without clicking browser back button, the History.js stack is not cleared and noe pressing back button on first page doesn't work properly.
  is there a way I can clear the History.js stack.
  In Html5 history api I would do <code>history.go(-(history.length - 1));</code> but when using History.js <code>History.length</code> gives me 0 always,even if I followed breadcrumb and skipped some of the back button clicks.</p>