Right - it happened to be working since data attrs won't be visible as .attr('data-...'). Pushing the fixes.