Clean up JavaScript files
Add semicolons, use array literal syntax, remove comma after last item of object
Merge pull request #725 from mc10/minor-fixes

Clean up JavaScript files