Add UMD support
Fix AMD support
Fix closing function indent
Merge pull request #5 from soulwire/master

Update from original master
Merge from master
Merge pull request #61 from JSteunou/issue-60

Add UMD support