Simple hackup of the History API for HTML5