condition.js