It is a standard, it cannot die, can you imagine Microsoft saying "ok, let's not support JavaScript on IE6" doesn't sound likely does it.
Regardless, if you like open source, javaScript is a good choice because you don't have an alternative but to give away your code.
I personally think JS has come a long way, but it is time for the Web to move into the real of GUIs and away from the printed page an from 'patch the hole in the orignal dumb design of HTML' scirp languages like JS.
The future of the web lies in a new paradigm or Computer-Human interaction and multimedia integration to provide an involving and rewarding end-user experience, be it for content retreival or game playing.
Flash is here, it is open source, it's has vector graphics, sound integration, bitmap manipulation, a scripting language every bit as powerful as JS, cross-platform & cross-browser functionality, native support by the major browsers, the backing of a company that is still in business and a very, very large developer and designer community.
Need we say more?