JavaScript statistics engine based on nodejs