Fixed dart2js compile error