Refactor js lib structure, add smart formatting of numbers