Rainbow in your hand
d.getElementsByTagName(‘head’)[0].appendChild(s);