Prepared the app for execution in PhoneGap.