Add UMD support
Merge pull request #7 from kennknowles/umd

Add UMD support
Make scope of "newCallback" obvious.
Merge branch 'master' into gh-pages