Javascript in Vaadin Application

Is there any posibilities of writing javascript in Vaadin Application.

This is normal javascript, and it shows the current time as output

I would like to integrate the same script in vaadin application. Is there any posibilites?

Thanks in advance.

regards,
Aravind