INT-fix-39a12.3: Retreat to jQueryUI 1.8.7 due GREAT incompatibility of most recent version with code on login page. Also misc fixes