Code Editor : validations.js