initial working version for providing .dart for Dartium and .js for
other browsers