Updated Solution to JavaScript Name Prompt Exercise