Fixed everything up so it runs in Internet Explorer (Bwahahaha, like that would ever happen)