Add UMD snippets
Merge pull request #2568 from garrettn/umd-snippets

Add UMD snippets