Accuracy Calculate for js