Fork of pagerjs with history extension point.