Removed redundant logic fork.
When the 2nd argument of `insertBefore` is null, it is analogous to `appendChild`
Merge pull request #6 from barneycarroll/master

Removed redundant logic fork.
[As used in Mithril core](https://github.com/lhorie/mithril.js/blob/next/mithril.js#L165).