Pretty numbers JS implementation
Some more slight beauty