connection and jquery ui