fixed order of classes in charts.js, which caused errors while deserialization of parts