more on javascript intro lecture notes