add tooltip classes to markup