Vaadin with Jquery

I added a java script as below in test.js

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

Then from my vaadin class,
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 ?