Revert "Attempt ES6 modules"

This reverts commit 0c338643996c4528cafc637785de2105fe36744f.