homework for Portland Code School's JavaScript evening course, summer 2014 session