fix capsejs build process