adding checks.js