Update BBM events to use document and change context on start