Display ajax loader properly