Minor bugfixes
Change js template of AutoLightBox