mca.js to halt on cordova-cli failure