I'm trying to run simple script in AppleScript Editor on OS X 10.9.5, but using JavaScript, e.g.:
var SE = new Application("System Events");
SE.processes.windows.name()
However my dropdown only shows AppleScript.
How do I activate JavaScript if it isn't appearing on the list? It is also not in Preferences/General.