added extra_checks.js, refactored - created check objects