Solution to JavaScript User Class Exercise