Use completion in org-mode jump.
Refactor two simple functions into one.