Remove requirement for production build from defer/async