adding localhost storage when connection is lost - css fixing class name