added js to frontend for lightbox popup