NodeJA based document classifier