Create cbCore.js