Fixes trailing comma in ExtJS code