This could cause issues for those not following 'don't put code outside the return block` as if they have used app without a var statement it will refer to this variable rather than whatever they set. But it's a real edge case so it should be fine.