Examples and Exercises for teaching JavaScript