Final exercises from javascripting tutorial.