Making it Dart2Js compatible.

- Changing import declarations to part.