Converted greetings to JavaScript.