Fix JSHint-reported issue