improve JSHint