Added index for phonegap