JavaScript: validator