My attempt to learn Javascript by writing a roman numeral converter