Fix gallery loading
Merge pull request #27 from fsmk/fix_gallery_js

Fix gallery loading