Improve the way to set up custom stuff in lightbox
Added js hook.
Code review
Merge pull request #1009 from lonelyplanet/jesus/lightbox-tweaks

Improve the way to set up custom stuff in lightbox