I wonder if OP can solve the AppleScript startup speed problem by rewriting it in… JavaScript? For half a decade now the underlying framework and the command-line tool (osascript) support AppleScript and JavaScript equally well. In JS there are simply a lot of things in the $ object.