Improve javascript calculation precision, fix nemomobile Bug 674 

Calculation result precision formatted in js for better precision