Moved all module exports to the bottom of each js file