Answering my own question: so that you can extract the course context from incoming javascript events.