I think that HTML5 will replace most of the flash/flex, which will probably continue as another branch because canvas is cool. New libraries will come. But as long as JS is in a fact singlethreaded it wont be so fast, especially with games, assuming adobe won't give up.