make umd module formatter inherit amd constructor