Updated Dart code to use dart:chrome and build.dart

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.