Refactor build steps
Make source files UMD compliant
Make test files UMD compliant
Rebuild dist files