add css class into tooltip's dom #940