Use React event handlers instead of jQuery

Replace the remaining uses of jQuery in older UI
code with React event handlers and remove the
jQuery dependency.