this method worked for me in chrome, you may have to dumb-down the iteration for older copies of IE:
var has2013=([].slice.call(navigator.plugins)
.filter(function(a){return a.name.match("Microsoft Office")})[0].name||"")
.match(2013)||false;
alert(has2013);