creating kairos.js