fix KeyRange (remove factory) for dart2js