Update validation.js: removed `new Object()`