correct parseInt, 09 is 0 is undefined in javascript if base is not explicitly specified to be 10 (phantoms for example returns 0 for parseInt("09")