done -> then

in preparation for moving off jquery, switch the docs from using a jquery specific promise method to using one that jquery and others use