AJAX calls through JQuery added to jsp, view divided in 2 parts