primitive move kappa.js to this js folder