Scenes from a synagogue that prepared for the worst — then faced it.