adding phonegap resources