Thymeleaf: Javascript function call