don't require document just to require metamorph
Merge pull request #24 from kselden/headless

Don't require document just to require metamorph