got it to work with dart2js