JaredCubilla/goodnight — pull request #9 by boralp (2014-09-08 15:17:02+00:00)
Title: appendChild type changed.

Sometimes head element could be missing. In that case that script could break out. Now it just searches the first element and than appends it-self.

More: http://www.stevesouders.com/blog/2010/05/11/appendchild-vs-insertbefore/