add phonegap resources