update template for 1.7.0
diff --git a/CordovaStarter-1.7.0.zip b/CordovaStarter-1.7.0.zip
index 7884894..4ebc171 100644
--- a/CordovaStarter-1.7.0.zip
+++ b/CordovaStarter-1.7.0.zip
Binary files differ
diff --git a/cordova-1.7.0.js b/cordova-1.7.0.js
index cb955b2..892ae76 100644
--- a/cordova-1.7.0.js
+++ b/cordova-1.7.0.js
@@ -1,10 +1,6 @@
-// commit 1c9ac3578a369dcb35b168c3e2d7ce2e89d45d12
+// commit 9cfdc134f83b5d51f655e52ec7d4ddab167437c7 WP7
 
-
-// File generated at :: Tue May 01 2012 13:46:18 GMT-0700 (Pacific Daylight Time)
-
-// WP7
-
+// File generated at :: Tue May 01 2012 14:51:58 GMT-0700 (Pacific Daylight Time)
 
 /*
  Licensed to the Apache Software Foundation (ASF) under one
@@ -353,10 +349,10 @@
  * TODO: remove in 2.0.
  */
 if (!window.PhoneGap) {
-    window.PhoneGap = cordova;
+    window.PhoneGap = deprecateFunctions(cordova, 'PhoneGap');
 }
 if (!window.Cordova) {
-    window.Cordova = cordova;
+    window.Cordova = deprecateFunctions(cordova, 'Cordova');
 }
 
 /**
@@ -725,6 +721,20 @@
                 }
             }
         },
+        Cordova: {
+            children: {
+                exec: {
+                    path: 'cordova/exec'
+                }
+            }
+        },
+        PhoneGap:{
+            children: {
+                exec: {
+                    path: 'cordova/exec'
+                }
+            }
+        },
         navigator: {
             children: {
                 notification: {
@@ -895,6 +905,7 @@
         }
     }
 };
+
 });
 
 // file: lib\wp7\exec.js
@@ -1031,8 +1042,7 @@
     id: "wp7",
     initialize:function() {
 
-
-
+	window.alert = require("cordova/plugin/notification").alert;
 
     // INject a lsitener for the backbutton, and tell native to override the flag (true/false) when we have 1 or more, or 0, listeners
     var backButtonChannel = cordova.addDocumentEventHandler('backbutton', {
diff --git a/templates/full/www/cordova-1.7.0.js b/templates/full/www/cordova-1.7.0.js
index cb955b2..892ae76 100644
--- a/templates/full/www/cordova-1.7.0.js
+++ b/templates/full/www/cordova-1.7.0.js
@@ -1,10 +1,6 @@
-// commit 1c9ac3578a369dcb35b168c3e2d7ce2e89d45d12
+// commit 9cfdc134f83b5d51f655e52ec7d4ddab167437c7 WP7
 
-
-// File generated at :: Tue May 01 2012 13:46:18 GMT-0700 (Pacific Daylight Time)
-
-// WP7
-
+// File generated at :: Tue May 01 2012 14:51:58 GMT-0700 (Pacific Daylight Time)
 
 /*
  Licensed to the Apache Software Foundation (ASF) under one
@@ -353,10 +349,10 @@
  * TODO: remove in 2.0.
  */
 if (!window.PhoneGap) {
-    window.PhoneGap = cordova;
+    window.PhoneGap = deprecateFunctions(cordova, 'PhoneGap');
 }
 if (!window.Cordova) {
-    window.Cordova = cordova;
+    window.Cordova = deprecateFunctions(cordova, 'Cordova');
 }
 
 /**
@@ -725,6 +721,20 @@
                 }
             }
         },
+        Cordova: {
+            children: {
+                exec: {
+                    path: 'cordova/exec'
+                }
+            }
+        },
+        PhoneGap:{
+            children: {
+                exec: {
+                    path: 'cordova/exec'
+                }
+            }
+        },
         navigator: {
             children: {
                 notification: {
@@ -895,6 +905,7 @@
         }
     }
 };
+
 });
 
 // file: lib\wp7\exec.js
@@ -1031,8 +1042,7 @@
     id: "wp7",
     initialize:function() {
 
-
-
+	window.alert = require("cordova/plugin/notification").alert;
 
     // INject a lsitener for the backbutton, and tell native to override the flag (true/false) when we have 1 or more, or 0, listeners
     var backButtonChannel = cordova.addDocumentEventHandler('backbutton', {
diff --git a/templates/full/www/index.html b/templates/full/www/index.html
index 5106a0f..7025888 100644
--- a/templates/full/www/index.html
+++ b/templates/full/www/index.html
@@ -19,9 +19,6 @@
         // once the device ready event fires, you can safely do your thing! -jm
         function onDeviceReady()
         {
-            // IE does NOT provide an alert method, you can patch it with this line after deviceready.
-            window.alert = window.alert || navigator.notification.alert;
-
             document.getElementById("welcomeMsg").innerHTML += "Cordova is ready! version=" + window.device.cordova;
             console.log("onDeviceReady. You should see this message in Visual Studio's output window.");