redone with scoped jquery ui