I found it quite helpful to show the markup in the java part. But can be located in the js only as well.