Adding phonegap scripts