added check for trailing comma,
highlight problems for ie quirk mode
Merge pull request #758 from LorenzoBoccaccia/maintenance

added check for trailing comma