playing with Spring and js