Change phonegap JS file