Fixed jshint error in validate.js

Signed-off-by: Selldat Development Office <dev@selldat.com>