Formatting JS file

Setting up JS file for assignment