Remove legacy code from application.html.haml code snippet.