Added method $.data(attr) as a synonym for $.getAttribute("data-" + attr)