Very beginnings of XHR-loading of sources.
Updates to element-factory.js.
Merge.