Leveraging Nick's code, I made a function to do the meta tag setting, creating if necessary. Should this be of use to anyone...
function setOrCreateMetaTag(metaName, name, value) {
var t = 'meta['+metaName+'='+name+']';
var mt = $(t);
if (mt.length === 0) {
t = '';
mt = $(t).appendTo('head');
}
mt.attr('content', value);
}
The metaName most often might be assumed to be "name" but I am also having to set "property" as well, so made the function handle a meta meta-name.