Improve normalization of charCode, fix FF not reporting Enter