week 3 commit. new .js file added