It's thrown when there's a require.js error in running the `wait_for_requirejs` function defined in this file. I've added a docstring to make that clearer.