Keep in mind time travel, but maybe Dart. I realise they've discontinued it, but if you could travel back in time and provide Dart as a JavaScript alternative, it would no doubt win outright (since JS took so long even to get to where it is now).
Honestly, and this is going to sound crazy, even VBScript is a better language than JavaScript. I understand why it didn't take off, it was only supported by one vendor, and was proprietary (as opposed to JavaScript's "free"), but in terms of the core language it had features JavaScript won't have until ECMAScript 6 is released.
Honestly, and this is going to sound crazy, even VBScript is a better language than JavaScript. I understand why it didn't take off, it was only supported by one vendor, and was proprietary (as opposed to JavaScript's "free"), but in terms of the core language it had features JavaScript won't have until ECMAScript 6 is released.