using pushState and loosing forward buttonis the line win.addEventListener("popstate", function (event) { different to window.onpostate (using Jquery)? I understand that I need to manually do things (load objects etc) on state change, I am not sure if I am doing that correctly.