using success instead of done for callback property sent to $.ajax in the tutorial