Moved around the settings template variable definition
Corrected jsdoc to use $.Promise rather than $.Deferred
Corrected jsdoc parameter to be options rather than displayName