Finished javascripting exercises 3-8