Fixed JS syntax error when row has multiple identical values.
Fixed JS syntax error when row has multiple identical values.

Specifically, if any value in the row was equal to the last value,
it would be output followed by an end-bracket instead of a comma.

jeremyolliver/gvis