Made changes, so webpage works with jquery 1.7 and jquery ui 1.8.2