read minimumPrecision from javascript