added a loading notification whilst waiting for ajax