Adds polyfill for input event

Input event is not supported in IE8.