added: add gallery item via js and on running time