proposalValidator.js