Introduction exercise with JavaScript