Convert html to haml and view cleanup