Remove unnecessary newlines
Remove unnecessary local variable
Simplify goog.object.forEach call
Merge pull request #2545 from fredj/cleanup

Miscellaneous coding style fixes