Initial cut of JS-to-Word script.