putting data- prefix back on attributes