fixing bug in lightbox 'old dom' tracking code so we can finally remove it