An example of using ViewFirstJs with a Java backend