Use jQuery data to get HTML5 data- attributes Edit

attr may read Dom content, use data to get content may be better


pull request again #8234