Added main, style and repo entries to package.json
UMDified JS
Updated JS source file to include AMD wrapper
Merge pull request #3 from zakangelle/general-fixes

General fixes