Issue #292, Patch for IE6/IE7, getHash() expects document, not location.
Merge pull request #305 from Izkata/master

Fix Issue #292, wrong argument passed to History.getHash()