Simplify expression and tweak annotation.

This gives the same result. Based on the [annotation](https://developers.google.com/closure/compiler/docs/js-for-compiler) docs I think that `Boolean` implies `instanceof Boolean`  whereas `boolean` implies the `typeof`.