Update checks.js for index.html