Added grater.js and checks.js