Exercises from the intermediate javascript training