Use clientside-haml-js to render your haml templates with javascript/coffeescript and haml.