Results expand do not works

I am providing Runkit embed example below, embedding itself works fine but results expand do not works. To reproduce the problem you will need to run code below and then after result shown try to expand and collapse results. Expand/Collapse will stop working after several clicks.

<script src="" data-element-id="my-element"></script>
<div id="my-element" style="margin: 20px;">
    const request = require('request')

    var uri = '', function(err, response, body) {
    // Click “▶ run” to try this code live and create your first payment.