Add phonegap core