compCheck.js