upgrade jquery, add jquery ui, remove dead code for image resizing