Move `partial` function into KA.util

Test Plan:
- Load a video make sure it laods, go back, make sure it works.