fix all those trailing commas in the code examples
remove trailing commas following arrays
Merge pull request #14 from m90/master

Remove trailing commas from doc examples