A javascript based photo stack template