LED RPi Widget

I hope not to confuse the issue with my ignorance, but it seems when looking at other examples, most every function? that starts with { needs to close with });

Of course every rule has exceptions and the if / else functions seems content with { }

Anyhow, based on the three lines starting with var v8 = new blynk.WidgetLED(8); { I count three { but only two }); after gpio.close(16); so add another }); and try again.