use xhr module for loaders