fix email validation; allow recover all error messages from inputs that have name; add tests with Karma + QUnit