Phonegap iOS project to interact with New Block City rails app