nodejs doesn't support Number.parseInt