address dart2js compilation warnings
review comments
Merge pull request #399 from dart-lang/dart2js_warnings

address dart2js compilation warnings