Browserify working with mean median and mode