added some keyCode parsing

a temporary fix for issue lmccart/processing-js#48