It's generally less expensive to do multiple things at once, and jQuery allows you to replace this:

```js
$e.data('foo', 42);
$e.data('bar', 38);
```

with this (this is 100% equivalent):

```js
$e.data('foo', 42)
  .data('bar', 38);
```

and with this (this is more efficient):

```js
$e.data({
  foo: 42,
  bar: 38
});
```

Since you were using the first writing in your code, I replaced it with the last one.