changed image initialize function
added image.js