Fix lightbox to accept instances of jquery

y,# On branch if-lightbox-fix
Merge pull request #956 from lonelyplanet/if-lightbox-fix

Fix lightbox to accept instances of jquery