Finally got github auth to send a sms from jquery.
Okay, I think we should switch over to interacting with github entirely within the browser, using the shell script as a fallback.