If `setTarget` accepts `{Element|string|undefined}` we can change the above to just:

```
values[ol.MapProperty.TARGET] = options.target;
```

```setTarget``` will take care of converting the target to an `Element` if it is a string.