Indigo interview question

Convert an integer to the Roman Numeral equivalent (JavaScript)