added jquery ui and fixed issues with it