Assignment 8 JS