Add semicolon and remove ending comma

IE sometimes throws a JS error about this!
Merge pull request #2150 from elliott-stocks/patch-15

Add semicolon and remove ending comma