Displaying images using jquery finally works