Trying to make all the plugins work like in Phonegap 2.0