Tweaking ape.js to try to fix transaction callback error