[wp7, wp8] adds phonegap.js during special event before the app is packaged