Added radix of 10 to calls to parseInt

In line with the recommendation here https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/parseInt

*NOTE* I am, of course, assuming the input string to these is decimal rather than hex or any other type.