Changed to build with phonegap 2.7.0