Does this pass `make jslint`? Even if it does, this isn't a style that we use in core. Please remove `else` statement and it's braces and move `return` to the separate line.