adding lightbox bg effect using js