templating with lodash, api, jQuery $.get , $.when, $.then, constructor Objects