Lab for WDI 2014 lesson on js functions