cross browser fix
photo album and gallery module initialized