Fix #225: provide an equivalent of JS' `typeof x`.

It is introduced as `js.Dynamic.typeOf(x)`.