js file for week 2