Redoing the javascript exercises because I'm rusty.