Ported AppleScripts to JavaScript

Also added plaintext versions of all of the .scpt files, didn't realize
they were binary files