fix validation.js spelling