fixed jhint global error