changed phonegap version from 2.2 to 2.4 in config.xml