Javascript dancing with Spring MVC