phonegap js rename