I updated the code to use build.dart for building and changed to dart:chrome with a couple of fixes in the way.
I also commited the .js.* files since those were already in there but it think these should be removed and added to .gitignore.
Updated Dart code to use dart:chrome and build.dart
I have a counter-proposal in GoogleChrome#190 :) Didn't notice this beforehand (also: "drat" since we fixed a lot of the same things!)
Some notes for this diff:
Please reopen if there's outstanding stuff to patch.