fix amp in image.js