added keylib.js
added input