Cross browser oninput event for jQuery