fixing endsWidth not available in all browsers
adapting agora authorities configuration to the new eo-api