add value to a cell of a ms word table using javascript

I have a file whic is exporting from jsp page to my desktop and I am opening that using javascript.
while i am opening that file I have add a table as header to '.doc' file which was opened as i told earlier.
in that table I have rows and cells.
Now my problem is ...,How can I add value to specific cell using this javascript.I dont want to use,
vb script.please tell me a best solution to this.I am ataching code my code,below.