Swapping definitions for insertAfter and insertBefore.
Merge pull request #5 from ndyakov/patch-2

Swapping definitions for insertAfter and insertBefore.