early-require 'client' to prevent 'require' race condition