Fix to the js regex for the gallery codename.