umd pattern with object setup