Update CaptureContext.js

This would have never worked.