Cannot read property 'target' of undefined from current.js

I found something very strange.

When I apply .change() on email field. It triggers this error, otherwise on all the other fields .change() works.

$(“hubspot-form form input[name=‘email’]”).val(‘myemail@test.com’).change();