Nit: `} else {` on the same line, please.

(sorry to bikeshed on our coding guidelines… :-/)