how to add multiple images in javascript