JavaScript exercises from Teaching Materials.