ability to set a different than '.js' extension

Added ability to set a different than '.js' extension.
It's useful when dart files connected with dart.js script:
```html
<script type="application/dart" src="main.dart"></script>
<script src="packages/browser/dart.js"></script>
```
If browser supports dart files it will use main.dart otherwise it will download main.dart.js