Update kUnit.js

removed unrelated utility function