updated in class js exercises