Fix lightbox JS - max width & height