Adding event listener to replace upon keypress, replacing a shim, testing on IEs