fix some things in generateur_galerie.coffee