Added some functions support in lightbox