Version is the property of the word::Applicatin. Not a method. So you should do it as follow:

var app = document.OA1.GetApplication();
var version = app.Version;
window.alert(version);