remove leading zeros
<!DOCTYPE html>
<html>
<body>
<script>
var num1 = parseInt("025", 10);
document.write(num1);
var num2 = parseInt("040", 10);
document.write("<br>"+num2);
var num3 = parseInt("098", 10);
document.write("<br>"+num3);
</script>
</body>
</html>