function loadDependencies() {
    [
        ...charts,
        ...chartDependencies,
    ].forEach(_safeLoadDependency);

    if (errors.length) {
        domHelpers.showErrors(errors);
    }
}
Reads all of the dependencies [charts etc] from the constants file and safe loads them
onto the window object.