A simple unix-style photogallery using js, erb