function.js was patched to not return empty-named qubits in json