use record instead of js-obj
substitute non-call parens with square brackets
make KEYMAP a hashtable