If I put a div in the head and display:none, than use JavaScript to display it, will this work?
Edit:
I have stuff loaded in AJAX. And as my AJAX changes the
You can use more simpler and lighter solution:
document.head.querySelector('meta[name="description"]').content = _desc