Update localize.js

Changes in relation to images - this is a first pass - just for review- thanks