Remove jshint global option

As suggested I added a declaration of the function as a var on top of
the lib