Simple function to generate a random color in JavaScript