Fixed ajax for loop redundancy
Merge pull request #57 from COSI236TA/integrate

Fixed ajax for loop redundancy