added class to jQuery on/off popstate bindings

I want to be able to listen to popstate without having to rebind every time the route changes.