Spring MVC web project with ajax and simple javascript