updating main js file.... getting closer to actually loading images