JavaScript export to Word