Vaadin with Jquery

I added a java script as below in test.js

function myFunction()
{
var e = ‘hasada’
;
alert(e);
return e;
}
I added a annotation like
@com.vaadin.annotations.JavaScript(value = { “test.js” })

Then from my vaadin class,
Page.getCurrent().getJavaScript().execute(“myFunction()”);
i called that js method.

I am getting the java script alert message.
How i can get the return value from java script in vaadin?

Did you check out the Javascript tutorials at https://vaadin.com/wiki/-/wiki/Main/Vaadin+7 ?