Fix lightbox to accept instances of jquery

y,# On branch if-lightbox-fix