Quick changes to make Entropy work in nodeJS again.
Fixed s.size test.