Javascript Array Not Includes Javascript String Length Validation