add a compile to JS context menu

@umop

This adds a 'Compile to JavaScript' menu item. It's used to create a foo.dart.js file from a foo.dart file. We'll need to improve the build workflow for writing dart chrome apps and deploying them to regular chrome.