Move tasks to haml, add coffeescript
Criteria for photo fitering