- Migrated fnIsValidFormat to object notation.

- Migrated fnIsValidFormat to object notation validators.
- Avoid console errors in browsers that lack a console.