Updated JavaScript lecture to adhere to actually taught content