Issue #183 iOS private browsing bug

from: https://github.com/balupton/history.js/issues/171
https://raw.github.com/jayphelps/history.js/ddbf86ce4e7fccb6ae12555831205b88375c65fc/scripts/uncompressed/history.js