Carcas: some ref, fix and jsdoc