Task #5. Javascripting part