export in a way that doesn't send requirejs optimizer crazy