[WIP] Remove jQuery references from ui.js