Convert main layout to HAML and include d3 script tag
Layout change
Script tag for d3