Dart's original purpose was having its own VM run in the browser - search 'Dartium'.
Only when that idea failed to gain traction did they turn it into a compile-to-js language...
Only when that idea failed to gain traction did they turn it into a compile-to-js language...