Frontend retry ajax