added cordova platform support for wp8 and windows8