Roman Numeral converter written in JS using jasmine