Catch API errors on html5 environment