Initial version of checks.js