Create guards.js