Browser History api abstraction and bindings for PureScript