Downgrade chai-as-promised for browser compatibility