The jQuery objects were already created on line 1778 and are being recreated on line 1782. There are two options here, stick with native operations using setAttribute or go without the reverse while:

Option 1:
```js
imgs[lenimgs]).setAttribute('alt', '');
```
Option 2 (note that _pe.document.find is too big in scope as mentioned in a previous comment):
```js
_pe.document.find('.olTileImage').attr('alt', '');
```