Added xhr loading