Add history support for emacs-webkit.