Refactor jump history