I added exit conditions for specs in case error occured in js.
I added exit conditions for specs in case error occured in js.

adobebc/web-apps-sdk,stoiky/web-apps-sdk,stoiky/web-apps-sdk,Deanmv/web-apps-sdk,Deanmv/web-apps-sdk,adobebc/web-apps-sdk