OfficeDev/PnP — pull request #58 by vman (2014-08-26 20:56:53+00:00)
Title: Used jQuery deferred to load the functions

Separated out the code in individual functions and used jQuery deferred to chain the function calls. Reduced the nesting of async functions.