Remove legacy code from application.html.haml.