WIndowsAzure not defined: problem loading azure mobile apps client

I have an jquery cordova app in appery. Now i have tried both importing azure mobile apps cordova plugin and creating the js file methods but i cannot initialize the client in my appery app.
Plugin Id cordova-plugin-ms-azure-mobile-apps
Platform list windows8;windows;wp8;ios;android;browser
Version 2.0.2

In the start page i call to my clientLogin() method. This method is in a custom js file with the client definition:

var client = new WindowsAzure.MobileServiceClient("");
function clientLogin(){
client.login('aad').then(function (data) {
alert("client = " + JSON.stringify(data));
if (data.userId) { alert(JSON.stringify(data.userId));}
function(error) { console.error(error); });

but i get this error in the console when launching the test:
ReferenceError: WindowsAzure is not defined

I also tried to initiate it on the DeviceReady method but i cannot get it working.

Please, any help will be welcome.
Thank you in advance!
1 person has
this problem