Run benchmarks in browser

This enables the benchmarks to be run in the browser.

Also, fixes bug with Dart version not correctly matching the config of the JS version.