use jQuery for the image tool