passing strict JSHint