fixing ios code
Merge branch 'master' of https://github.com/freakypie/card.io-phonegap