Updated JSHint settings and fixed grunt test