Create gallery.js

for image gallery