Property validation and roundingproblem fixed
Javascript created