Fix IE 8 bug with insertAfter.

If the second argument is undefined, IE 8 throws an "Invalid argument" exception. Instead, use appendChild.
Merge pull request #175 from rviscomi/ie8fix

Fix IE 8 bug with insertBefore.
Create a distribution script.

Publishes a previously released version to npm and prepares an archive for
upload to GitHub and CDNs.  This distribution archive is different than
a regular release archive because it only contains the distribution files
(i.e. the `dist` folder).

Closes #152.
Merge pull request #176 from nicksay/distribute

Create a distribution script.