Sauce and fixes

if we set a jshint directive, let's make sure to unset it after it's necessary.

since when does jshint complain about typeof usage?