restores images.js to previous version