Added smart ajax loader