Fixing Rouge Variable

The variable "maxLength" did not contain the "var" keyword nor included in the comma separator single variable declaration. Semicolon replaced with comma to include it in the declaration list.