Added initial grater.js and checks.js