Added to check if online before ajax call, updated readme