week10, JS if statement from videos not working