completed several js exercises