Micro JS library for basic statistics functionality