[WebProfilerBundle] Fixed js escaping in time.html.twig

For some event names I received the JavaScript error: ```Uncaught SyntaxError: Unexpected token ILLEGAL```