Kind of converted js pages to haml