If they want an open standard, all they have to do is make the compiler open source
That seems quite feasible - however, I suspect that there would be a lot of resistance to wider adoption as long as Apple were seen as controlling/owning the language. Witness: Google vs. Oracle over Java (despite there being open source Java implementations) and the fact that C# hasn't seen much adoption outside of Windows.
What won't happen is open standards Cocoa APIs
Agree that's never going to happen.
Open standards as described here would require a common hardware platform between manufacturers
No they wouldn't. Swift sounds as if it can link with existing C libraries. If you stick to POSIX and other widely-implemented APIs then you can easily write software that runs on anything from an IBM mainframe to a Raspberry Pi with minor tweaks. You've got things like OpenGL for graphics, OpenCL for number crunching, Qt or X11 for GUI.
At one point, Microsoft actually ported its Microsoft Foundation Classes API to (classic) MacOS so you could build Visual C/C++ for Macintosh.
The problem is the GUI (which is mainly what Cocoa does): Apps written with cross-platform GUIs always end up feeling a bit clunky compared with something written in the native GUI. The answer is to make sure that your app uses a fronted/backend design, so you can share as much code as possible between platforms. However, what that's likely to mean is that - like Objective C before it - Swift only ever gets used for OS X front-ends to C/C++ code.
JavaScript in app development isn't really anything other than running a browser window that interprets JS.
You've obviously lost touch with browser-based programming. With HTML5 and related technologies the Browser Window is now virtually a complete operating system, with standard APIs for 2D and 3D graphics, vector graphics, media playback and local data storage. JS "interpreters" are now highly optimized just-in-time compilers with pretty amazing performance for a 'scripting language'. People can and do write games and office apps (notably Google Docs) that run in Javascript. The main restriction is access to 'local' resources - and that's because browser windows are heavily sandboxed, not because Javascript can't do it.
If you do need native resource access, there's Node.JS (lets you run Javascript outside a browser, and bind to native APIs, mainly used for server-side programming... or even
writing servers) or you can bundle your JS code with a customised Mozilla or Chrome 'runtime' to produce something like a normal application (see GitHub's new 'Atom' text editor for an example).
As for there ever being a Swift to JS cross compiler - that's counter intuitive to the level of being incomprehensible, like comparing apples to oranges.
Go look at
Google Web Toolkit. Write in Java - using the GWT API - and 'compile' to highly optimised, minified Javascript.
Then there's
Dart - again from Google - as well as CoffeeScript, Haxe and possibly others that 'compile' to javascript to take advantage of the cross-platform nature of web browsers.
There's even
asm.js - a pared-down subset of Javascript specifically designed to be generated by 'compiling' other languages.