Exercise task for JavaScript Beginners