added calls to images in js file