changed the script reference for phonegap