I agree with you, I don't see why we need to check attributes but this was there from the previous `customDataMessage` method. The jQuery data method should be enough in my opinion. If everyone agrees, I'll remove the attribute checks.