Fix for incorrect ignore attributes pattern

```javascirpt
var ignoreAttributesRegExp = /dataViewId|class|id/i
```
 matches all words that contain id/class letters, not the whole words

```javascript
/^(dataViewId|class|id)$/i 
```

fixes things.