data attribute added to markup. js fixes