JS module for making short summary of some text