Revert "Wrapper for Root.js"

This reverts commit 2dcaaf125f643636a45dc5d8c52c0902cb564310.
Revert "Modified import/export"

This reverts commit 21096a266955d098b48d8f2c49bc616e9104afb6.