Midway E iteration

Adding ajax functinality