Infrastructure was created for jquery ajax method