Update schematype.js

added optional dynamic message to validate callback