Update cb.js

rename _extends to _extend; fixed logical operator;