doesn't that only work if i explicitly set that within javascript?

```
.data('url', urlVal);
```

in my experience, using data to simply get a data-X attr never works.