Improve javascript calculation precision, fix nemomobile Bug 674
Remove previous fix proposal