uniform version of cordova-js for WP7 and WP8