moving all image info to js file and dynamically creating the html and making a gitignore