Add conditional around request time output.

Stops streing being outputted at the end of json/css/js responses