updated jquery ui and fixed js issues