CB-10558 Update cordova-js according to windows8 deprecation