I discovered that in includes/view-functions.php there were some places where $.postMessage was being called, yet it seemed there was a line of code missing:
<script type="text/javascript" src="{machform_path}/js/jquery.ba-postmessage.min.js"></script>
It's working for me now, after adding this in a few places.