loading helper to include a progress image for ajax calls