Modified Index to avoid all Cordova stuff