jsgen was producing javascript objects like this ``` {, name:"foo"} ``` causing syntax errors in javascript interpretors.