Used durandal's ajax abstraction.