jquery functions added to UI