Create gallery.js

gallery.js controls the gallery functionality, as well as pulling all information from gallery.json via AJAX, and then displaying the resulting image and text data in index.html.