Updated iOS code to handle loading of Cordova.js file in a ruboust way (by checking that the file actually exists in case of name clashes).