Small lib to handle history pushState and window onpopstate for async change page in html pages