Got the History UI working ... and abstracted a few of the javascript methods to boot.