netteForms.js: fixed problem with undefined event during submit