Tidy `proxy.js`.

Removed useless return statements.