First gallery working minus javascript