why cp.InitChipmunk is not a function

had sc->addRegisterCallback(jsb_register_chipmunk);

Because it doesn’t exists in chipmunk.js?