use data- in patch

Forgot to do this bit to match `render.js`