Indigo Interview Question

Convert an integer to the Roman Numeral equivalent (JavaScript)