http://www.wavesme.com/templates/wavestemp/js/gen_validatorv31.js