Fix a couple trailing commas in javascript.

A couple small trailing comma errors snuck in since the last time we ran jshint
on all our code. Trivial fix.