jquery for onchange event instead of angular