converted from custom methods to jQuery .done(), .fail() & always() methods