Link to pre-Yosemite zip sha.
Convert to JavaScript.

OS X Yosemite added support for JavaScript as an automation language. 👏