Fixed bizarre bug in rest_ui

Also updated jQuery to remove new Chrome warning