A more helpful main module template with UMD wrapper