script reference to phonegap fixed