adding beforeget / afterget timing events to router to wrap around pushstates beforestate and afterstate events