Fix some JavaScript errors affecting IE.
Fix some JavaScript errors affecting IE.

We had another trailing comma that affected IE and caused things to break.
We also had a bunch of missing semicolons, which didn't affect anything (yet)
but were good to clean up.

Fixes bug #2152

1tush/reviewboard,KnowNo/reviewboard,beol/reviewboard,chazy/reviewboard,Khan/reviewboard,sgallagher/reviewboard,chipx86/reviewboard,Khan/reviewboard,beol/reviewboard,chazy/reviewboard,Khan/reviewboard,chazy/reviewboard,1tush/reviewboard,Khan/reviewboard,chipx86/reviewboard,sgallagher/reviewboard,bkochendorfer/reviewboard,atagar/ReviewBoard,KnowNo/reviewboard,chazy/reviewboard,1tush/reviewboard,bkochendorfer/reviewboard,davidt/reviewboard,atagar/ReviewBoard,1tush/reviewboard,chazy/reviewboard,Khan/reviewboard,Khan/reviewboard,1tush/reviewboard,chipx86/reviewboard,brennie/reviewboard,KnowNo/reviewboard,atagar/ReviewBoard,reviewboard/reviewboard,atagar/ReviewBoard,chipx86/reviewboard,custode/reviewboard,atagar/ReviewBoard,reviewboard/reviewboard,bkochendorfer/reviewboard,bkochendorfer/reviewboard,atagar/ReviewBoard,reviewboard/reviewboard,davidt/reviewboard,sgallagher/reviewboard,sgallagher/reviewboard,brennie/reviewboard,Khan/reviewboard,brennie/reviewboard,Khan/reviewboard,chazy/reviewboard,beol/reviewboard,KnowNo/reviewboard,atagar/ReviewBoard,chazy/reviewboard,davidt/reviewboard,chazy/reviewboard,brennie/reviewboard,chazy/reviewboard,custode/reviewboard,custode/reviewboard,custode/reviewboard,atagar/ReviewBoard,Khan/reviewboard,reviewboard/reviewboard,1tush/reviewboard,1tush/reviewboard,1tush/reviewboard,1tush/reviewboard,atagar/ReviewBoard,davidt/reviewboard,beol/reviewboard