Build log does not load for some jobs because of JS error

Summary

Build log does not load for some jobs, because of JavaScript error

Steps to reproduce

See https://gitlab.com/gitlab-org/gitlab-qa/builds/6363008.

Actual behavior

There is a JavaScript error that prevents build log from loading.

application-3a84d2d….js:18 Uncaught TypeError: gl.utils.timefor is not a function(…)

/cc @ayufan @annabeldunstone @lbennett