Change syntax to resolve JSHint error