Use addEventListener in $.fn.enableKeymap