Update ekko-lightbox.js

Fixing for IE. We need to get img.width from the chekImageDimension directly.