Work around for buggy oninput in IE9.