update galleria to use javascript path