moved jquery ui refs. dunno if correct