function importDependencies(list) {
for (i = 0, max = list.length; i < max; i++) {
let dependency = list[i];
let isDefined = null;
switch (dependency) {
case "qx_constants":
isDefined = typeof (qxConstants);
break;
case "qx_create_box":
isDefined = typeof (qxCreateBox);
break;
case "qx_file_io":
isDefined = typeof (qxFileIO);
break;
case "qx_get_boxes":
isDefined = typeof (qxGetBoxes);
break;
case "qx_inputs":
isDefined = typeof (qxInputs);
break;
case "qx_measurements":
isDefined = typeof (qxMeasurements);
break;
case "qx_validations":
isDefined = typeof (qxValidations);
break;
default:
isDefined = "undefined";
console.log("Dependency " + dependency + ".js will be imported without checking if it is loaded already."); //Other Libraries are importing without checking if they are already loaded
}