added ajax load animations and optmized ajax code
fix error try 1
fix error try 2
updated ajax loading animations