Javascript notes from Simon Allardice's Lynda.com class/tutorial