OUTPUT: Fix errors in redirect script in index.html