Change credits mechanism in images.js