Some exercises from the codecademy JavaScript course