add jquery ui functionality