Render the console only in HTML responses
Test controller helper won't render a console twice