fixed JS parsenumber
Fixed JS parseNumber