no sorry, I'm wrong, keep it, this is necessary to run this code in environment where we don't have the API, eg Firefox