Made Netscape work on challenge eight. Slight refactor