jquery ui added, take a tour, refactoring