fix index.html path in code

The position of index.hml should be in a config file, not in java code