add brick.validator.js