micro library for isKeyDown and isKeyUp in for keyboards in javascript