Updated test.js with image