statistical library for javascript