refactor main.js
refactor main.js

plumpudding/hopglass,max-weller/meshviewer,FreiFunkMuenster/meshviewer,Freifunk-Rhein-Neckar/meshviewer,Freifunk-Troisdorf/meshviewer,ffac/meshviewer_old,freifunk-mwu/meshviewer,ffrgb/meshviewer,ffac/meshviewer,Little-Ben/meshviewer,FreifunkMD/Meshviewer,rubo77/meshviewer-compilation,nonchip/meshviewer,kgbvax/meshviewer,srauscher/hopglass,rubo77/meshviewer-compilation,ffac/meshviewer,ffac/meshviewer,xf-/meshviewer-1,FreiFunkMuenster/meshviewer,kgbvax/meshviewer,Freifunk-Rhein-Neckar/meshviewer,gherber/hopglass,FreifunkBremen/meshviewer-ffrgb,ffrgb/meshviewer,freifunk-fulda/meshviewer,nickel715/meshviewer,srauscher/hopglass,tcatm/meshviewer,rubo77/meshviewer,freifunk-fulda/meshviewer,freifunkMUC/meshviewer,hopglass/ffrgb-meshviewer,mayflower/meshviewer,freifunk-mwu/meshviewer,gherber/hopglass,hopglass/hopglass,nonchip/meshviewer,yayachiken/hopglass,hopglass/ffrgb-meshviewer,Freifunk-Luxembourg/hopglass,nonchip/meshviewer,freifunkMUC/meshviewer,TVLuke/meshviewer,tcatm/meshviewer,TVLuke/meshviewer,rubo77/meshviewer-1,FreifunkBremen/meshviewer-ffrgb,hopglass/hopglass,FreifunkMD/Meshviewer,ffnord/meshviewer,ffac/meshviewer_old,TVLuke/meshviewer,tcatm/meshviewer,yayachiken/hopglass,Freifunk-Luxembourg/hopglass,freifunk-mwu/meshviewer,Freifunk-Rhein-Neckar/meshviewer,Little-Ben/meshviewer,nickel715/meshviewer,rubo77/meshviewer-1,xf-/meshviewer-1,ffnord/meshviewer,FreiFunkMuenster/meshviewer,mayflower/meshviewer,ffnord/meshviewer,max-weller/meshviewer,plumpudding/hopglass,rubo77/meshviewer,Skrupellos/meshviewer,Freifunk-Troisdorf/meshviewer,Skrupellos/meshviewer