Example Code and Assignments for JavaScript