Convert prototype code to jQuery on user list page