Upload .txt file to a Java Servlet and get some statistics for each word in a file by AJAX jQuery