Based on plivo-web-sdk-example