Updated JS to modify href for lightbox link