I see your point, but it also introduces redundancy. I suspect that `doFoo: function doBar() {..}` would end up as `function doBar` but would not work properly because of confusion with the names not matching.

The relevant functions that do need a name are inside objects, so they are indented more than 2 spaces, that's another way to find them.