This reverts commit fdcc5d68a2. Unfortunately, this requires us to move exports to the bottom. This in turn causes circular dep issues and also access of exports.GLOBAL_VAR in the global context
fdcc5d68a2