Can't use document.head. Fixes #211