Added jshint option 'notypeof'

We had this issue before in the tests where we checked against `typeof x
== undefined` (that is not a string). So it seems like a good one to
have.
Removed deprecated jshint option 'white'