Fix ReferenceError

While using this backend, the following error occurred:

`ReferenceError: statString is not defined`

The variables causing the error were `statString` and `numStats` which are unused, so the solution was to remove them. I also removed some trailing whitespaces.