added type to tests/index.html