js file
img and functions