update JSHint dependency
the rest parameter is an array, so the validation has to be against an array, so we have to validate it as a whole and not each element one-by-one