Update promise keywords for jQuery