improve waiting element gone due ajax running