Fixed a defect where referring to this within an ajax callback rather than the object itself