Convert to single define/umd

Alternative fix for #188
taking these parameters isn't really necessary, so we could save a few bytes since we know they'll be in the closure.