Create conditions.js