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.
Merge pull request #3 from matt-major/patch-1

Fixing Rouge Variable