Removes jQuery `data()` calls and refactors core `refresh()`