Add missing return value to non-void function.

(Somehow the Typescript compiler didn't complain.)
Use C++-style comments, not JSDoc-style comments, per uProxy style guide.
Fix whitespace.

- Convert tabs to spaces.
- Remove trailing whitespace.
Merge pull request #151 from uProxy/matthild_copypaste_cleanup

Copy/paste sample cleanup.