we could generate the json dynamically from ruby like this and may eventually want to.  I think we'd want an optimization (like our new css handling) that would make it so we wouldn't have to send it over every time.  For now I think the static rep in javascript is best.