adding images and javascript