Switched to webpack/cjs

almost working
web pack working!
Merge branch 'broken_cjs'
Merged