Use export list when generating JS
Eliminate exports as well as declarations in DCE