Update gallery.js

typo