Defining this as a module.export as opposed to a window property