Update _elementOrElementsByType


Example:

```javascript
execute_script <<JS

var opts = {"typeArray": ["UIAStaticText"],
 "onlyFirst": true,
 "onlyVisible": true,
 "name": {
   "target": "Transitions, Shows UIViewAnimationTransitions",
   "substring": false,
   "insensitive": false
 }};

$.mainWindow()._elementOrElementsByType(opts);
JS
```