Define a module as an AMD module and handle it as if it's an UMD module