Modified into app format
Changed into Phonegap format