This looks awkard to me because it's after the final return statement. I also didn't see that alot in other JS Code. But that's mainly me coming from c++.

Once you understand JS Scope, it gets better though :=)