Fixing extraneous semicolon in jsgen output

jsgen was producing javascript objects like this
```
{, name:"foo"}
```
causing syntax errors in javascript interpretors.
Merge pull request #1709 from juxiliary/devel

Fixing extraneous semicolon in jsgen output