Small app built with JavaScript, AJAX and Java Servlet