Attach ajax Start and Stop events to document to fix spinner.