Made second field in index.html mandatory until added code for no destination searches resolves correctly.