Finished javascripting exercises 14-17