Working with quota on modern browsers

as per #514