Added JavaScript Task 2