const script = ` onmessage = (e) => { if(e.data.message=='makeOptions'){ const data = JSON.parse(e.data.data) if(!data[0]) return const out = [] for(let i=0; i< data[0].length; i++){ out.push([]) } for(let i=0; i