Fix the error handling for the latest version of browsers

The error name is now a days `QuotaExceededError` in both Firefox and
Chrome.
Merge pull request #17 from ansman/new-error-type

Fix the error handling for the latest version of browsers