Lightbox: Code not working even on "Preview" mode