file.js, configuration(), fix singleton logic using array instead of set