Better javascript API for scoretypes
Fixed repeated grade reporting