Update EnterKey.js

Prevent "Object required" exception under IE8