fixes to lightbox load image js