redirect uses alert, and then location = home.html