$form.removeOnce is not a function error for D10