Cleanup, removed enter handler return, as it was acting strange in IE.
Ensure support for IE9's event handlers and window.event
From event.which to event.keyCode for better cross browser event handling
Merge branch 'master' into gh-pages