Debug Index.html now has basic checking functionality.