Load javascript and lightbox css only on pages that need it
Merge branch 'load-js-when-needed' into develop