Making it compile for iphone

Build it trough build.phonegapp.com