new upstream of bbop-js
switch to using bbop-js for context handling