Resolv JSHint error