Updated script to work on photo pages/lightbox photo overlay.