Fix dart2js warnings
Merge pull request #4 from astashov/fix-dart2js-warnings

Fix dart2js warnings