Added document ready to image.js