javascript used
adds the images used