you may want to remove trailing commas in arrays. Some browser like IE8 don't like them