jquery check if data attribute exists and has value