fixes and updates to js lesson 3