Validate Input Text In Javascript Object Iterate Crossword